Markdown Publishing Reference

About this reference

Original English test specimens. The two custom filters are part of the build. Bibliographic records are fictional. Heading ranks inside specimens demonstrate syntax, not the article hierarchy.

Example 01: Six available heading ranks

Profile in the isolated test: commonmark.

Publication

Chapter

Section

Subsection

Detail
Smallest heading

Example 02: Setext notation

Profile in the isolated test: commonmark.

Publication

Editorial scope

Example 03: Paragraphs and three kinds of line ending

Profile in the isolated test: commonmark.

This source line continues the same paragraph.

This line ends with two spaces.
This line follows a hard break.

This line ends with a backslash.
This line also follows a hard break.

Example 04: Emphasis with asterisks and underscores

Profile in the isolated test: commonmark.

This is important and this is essential. This is especially important.

This is emphasis and this is strong emphasis. The identifier source_file_name remains literal.

Example 05: Syntax characters, entities and nonbreaking space

Profile in the isolated test: commonmark.

*Literal stars* and [literal brackets].

# This is not a heading.

Use <article>, AT&T and 10 kg.

Example 06: Inline code and embedded backticks

Profile in the isolated test: commonmark.

Use <article id="a1"> in the source.

Write `literal backticks` inside a code span.

Inside code, **text** is not strong emphasis.

Example 07: Nested block quotations

Profile in the isolated test: commonmark.

The editor requests a revision.

The reviewer requests a source.

The author adds the source.

Example 08: Thematic break and comment

Profile in the isolated test: commonmark.

The first editorial topic ends here.


The next topic starts here.

Example 09: Extended inline formatting

Profile in the isolated test: pandoc.

The draft final edition contains H2O and 210.

Editorial board

Check the source

Example 10: Line blocks for addresses and verse

Profile in the isolated test: pandoc.

Northlight Publishing
Editorial Office
24 Example Lane

Example 11: Unordered lists

Profile in the isolated test: commonmark.

Alternative markers:

Example 12: Numbering and starting value

Profile in the isolated test: commonmark.

  1. Open the manuscript.
  2. Check the references.
  3. Publish the result.

Continue a separate procedure:

  1. Archive the files.
  2. Record the release.

Example 13: Nested and mixed lists

Profile in the isolated test: commonmark.

  1. Prepare the publication.
  2. Release the approved edition.

Example 14: Tight and loose lists

Profile in the isolated test: commonmark.

A separate list with paragraphs:

Example 15: Multiple blocks inside a list item

Profile in the isolated test: commonmark.

  1. Inspect the source.

    Keep this explanation inside the first item.

    <status>approved</status>
  2. Save the approved file.

Example 16: Task lists

Profile in the isolated test: gfm.

Example 17: Definition lists with multiple paragraphs

Profile in the isolated test: pandoc.

Manuscript
The source text before final publication.
Edition
A particular published form of a work. This edition includes revised figures.

Example 18: Alphabetic and Roman numbering

Profile in the isolated test: pandoc.

  1. Editorial review
  2. Technical review

Another sequence:

  1. Source files
  2. Generated files

Example 19: Sequential example numbers

Profile in the isolated test: pandoc.

  1. The source has been reviewed.
  2. The release has been approved.

See example (1) before publication.

Example 20: Inline links and reference links

Profile in the isolated test: commonmark.

Read the manual.

Use the same manual during editing. Try guide or the shortcut guide.

Example 21: Automatic links and email addresses

Profile in the isolated test: gfm.

https://example.org/catalog

editor@example.org

https://example.org/releases

Example 22: Stable internal references

Profile in the isolated test: pandoc.

Editorial checklist

Check the references before release.

Return to the editorial checklist.

Example 23: Image syntax and reference images

Profile in the isolated test: commonmark.

Orange sample cover

The same asset: Orange sample cover

Example 24: Caption, width and identifier

Profile in the isolated test: pandoc.

A sample publication cover.

Example 25: Audio as an HTML extension with a text alternative

Profile in the isolated test: commonmark.

Boundary specimen: output-specific raw content can be omitted by another writer. Consult the article and test report when comparing formats.

Read the transcript.

Example 26: Indented code block

Profile in the isolated test: commonmark.

The following fragment is literal code:

<book>
  <title>Reference Edition</title>
</book>

Example 27: Code fence and language identifier

Profile in the isolated test: commonmark.

<article id="a1">
  <title>Reference Edition</title>
  <p>The release is approved.</p>
</article>

Example 28: Documenting Markdown syntax literally

Profile in the isolated test: commonmark.

```xml
<status>approved</status>
```

Example 29: Code attributes and line numbers

Profile in the isolated test: pandoc.

<article>
  <title>Reference Edition</title>
</article>

Example 30: An XSLT specimen that is actually executed

Profile in the isolated test: commonmark.

<xsl:stylesheet version="1.0"
  xmlns:xsl="http://www.w3.org/1999/XSL/Transform">
  <xsl:output method="text"/>
  <xsl:template match="/article">
    <xsl:value-of select="title"/>
  </xsl:template>
</xsl:stylesheet>

Example 31: Pipe table with alignment

Profile in the isolated test: gfm.

Edition Language Copies
Print English 250
EPUB English 480

Example 32: Formatted cells and a literal pipe

Profile in the isolated test: gfm.

Item Meaning
Approved Ready for release
a\|b A literal pipe in code
Manual External link

Example 33: Pandoc simple table

Profile in the isolated test: pandoc.

Edition Copies
Print 250
EPUB 480

Example 34: Multiline table cells

Profile in the isolated test: pandoc.

Notes for each edition.
Edition Editorial note
Print Includes a revised introduction.
EPUB Includes accessible navigation.

Example 35: Grid table with a list and paragraph

Profile in the isolated test: pandoc.

Edition Review tasks
Print
  • Check the cover.
  • Check the references.

Approval is required.

Example 36: Spanning cells in a grid table

Profile in the isolated test: pandoc.

Publication Copies
Guide Print 200
EPUB 450

Example 37: HTML table with explicit semantics

Profile in the isolated test: pandoc.

Boundary specimen: output-specific raw content can be omitted by another writer. Consult the article and test report when comparing formats.

Edition totals
EditionCopies
Print250

Example 38: A table inside a table cell

Profile in the isolated test: pandoc.

Topic Details
Editions
Format Copies
Print 250

Example 39: Named, multiparagraph and inline footnotes

Profile in the isolated test: pandoc.

The source has been checked.1 A second note is written inline.2

Example 40: A note reference inside a table

Profile in the isolated test: pandoc.

Edition Copies
Print 2503

Example 41: Citations with locators and a bibliography

Profile in the isolated test: pandoc.

A structured workflow needs an explicit profile (Morgan 2024, p. 12).

Lee (2025) discusses editorial testing.

Morgan provides an example (2024, p. 18).

Related reading (see Morgan 2024; Lee 2025).

Example 42: Inline mathematics and a display equation

Profile in the isolated test: pandoc.

For n≥1n \geq 1, the mean is x‾=1n∑i=1nxi\bar{x}=\frac{1}{n}\sum_{i=1}^{n}x_i.

∫01x2dx=13 \int_0^1 x^2\,dx = \frac{1}{3}

Example 43: Matrices, roots and piecewise expressions

Profile in the isolated test: pandoc.

A=(1234),‖v‖=v12+v22 A=\begin{pmatrix}1 & 2\\3 & 4\end{pmatrix}, \qquad \lVert v\rVert=\sqrt{v_1^2+v_2^2}

f(x)={x2x≥0−xx<0 f(x)=\begin{cases}x^2 & x\geq 0\\-x & x<0\end{cases}

Example 44: YAML metadata with lists and objects

Profile in the isolated test: pandoc.

---
title: "Editorial Reference"
author:
  - name: "Alex Morgan"
    affiliation: "Northlight Publishing"
lang: en-GB
keywords: [publishing, markdown, quality]
edition: "01"
---

This document has structured metadata.

Example 45: The simple Pandoc title block

Profile in the isolated test: pandoc.

% Editorial Reference
% Alex Morgan; Jamie Lee
% 21 September 2026

This is a small reference publication.

Example 46: Divs, spans and domain classes

Profile in the isolated test: pandoc.

Review the source identifier before publication.

Example 47: Format-specific raw blocks

Profile in the isolated test: pandoc.

Boundary specimen: output-specific raw content can be omitted by another writer. Consult the article and test report when comparing formats.

Only the HTML edition contains this paragraph.

This paragraph belongs to every edition.

Example 48: Index entries implemented by a custom filter

Profile in the isolated test: pandoc.

A publication can have several editions.

The source format must be documented.

Example 49: Audience variants using filter logic

Profile in the isolated test: pandoc.

The release is available to readers.

Example 51: A testable Markdown output contract for AI

Profile in the isolated test: commonmark.

Task

Summarize only the supplied source.

Output contract

Use one level-one heading and two paragraphs. Keep identifiers unchanged. Do not invent references or metadata. Do not use raw HTML.

Source

The revised edition contains 24 figures.

Lee. 2025. Testing editorial workflows. Northlight Publishing.
Morgan. 2024. Structured publishing handbook. Northlight Publishing.

  1. The reviewer checked the references.

    The second paragraph belongs to the same note.↩︎

  2. Approved by the editor.↩︎

  3. Estimated distribution, not confirmed sales.↩︎